
      <font face="Arial" size="3"></br>Announcements</font></br> 
	  <?php echo anchor("admin/create_announce",'Create Announcement');	?>
      <table width="146%" cellpadding="4" cellspacing="0"border="1">
	  <thead>
		<tr>
			<td>Ann Id</td>
			<td>Title</td>
			<td>Content</td>
			<td>Author</td>
			<td>Status</td>
			<td>Action</td>
		</tr>
		</thead>
        <?php foreach($query as $row): ?>
		<tbody>
		<tr >
	  		
	  	    <td><?php echo $row->annid;?></td>
			<td><?php echo $row->title;?></td> 
			<td><?php echo $row->announcement;?></td> 
			<td><?php echo $row->author;?></td> 
			<td><?php echo $row->status;?></td> 

			<td><?php echo anchor("admin/editann/$row->annid",'Edit');?><br/>
			   <?php echo anchor("admin/deleteann/$row->annid",'Delete');	?></td>
	  	</tr>
	  	
		<?php endforeach; ?>

	  </tbody>
	</table>
